var top_frame="130,*";
var strColumns_Current = "50,*";
function showfull() {
	if ((top.all.cols!="0,*") || (top.main.rows != "0,*")){
		strColumns_Current1 = top.main.rows;
		top_frame1=top.all.cols;
		top.all.cols="0,*";
		top.main.rows = "0,*";
	}else{
		top.all.cols=top_frame;
		top.main.rows = strColumns_Current;
	}
}
function showtop() {
	if (top.main.rows != "0,*"){
		strColumns_Current = top.main.rows;
		top.all.cols=top_frame;
		top.main.rows = "0,*";
	}else{
		top.all.cols=top_frame;
		top.main.rows = strColumns_Current;
	}
}
function showleft() {
	if (top.all.cols !="0,*"){
		top_frame = top.all.cols;
		top.all.cols="0,*";
		top.main.rows = strColumns_Current;
	}else{
		top.all.cols=top_frame;
		top.main.rows = strColumns_Current;
	}
}
function mout(thethis){
	if (thethis.style.backgroundColor!="red"){
		thethis.style.backgroundColor="";
	}
function mclick(thethis){
	for (i=0;i<document.links.length;i++)
	{
		document.links[i].style.backgroundColor="";
		document.links[i].style.color="";
		//alert(i)
	}
	thethis.style.backgroundColor="#000000";
	thethis.style.color="#FFFFFF";
}
}
function movermain(thethis){
	thethis.style.backgroundColor="#FBE8C0";
}
function radiotrue(names){
	obj=eval("document.forms[0]."+ names);
	obj.checked=true;
}
function checktrue(names){
	obj=eval("document.forms[0]." + names);
	if (obj.checked==true){
		obj.checked=false;
	}else{
		obj.checked=true;
	}
}

function isEmpty(s)	//Is the string s empty? Empty:return true.
{
	return ((s == null) || (s.length == 0) || (s == "") || Number(s) == 0);
}
//for check null checkbox. by langerwang
function isNullChecked(ids)
{
  if(ids == null)
    return true;  
  if(ids.length == null)
  {
    if(ids.checked)
      return false;
    else
      return true;
  }
  for(var i = 0;i < ids.length;i++)
  {         
    if(ids[i].checked)
      return false;
  }
  return true;
}
